package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class GetItemInformation {

    private int beginIndex;
    private int endIndex;
    private SimpleTargetSpecification simpleTargetSpecification2;
    private DescriptorItemName descriptorItemName;

    public GetItemInformation(SimpleTargetSpecification simpleTargetSpecification2,
                              DescriptorItemName descriptorItemName) {
        this.beginIndex = simpleTargetSpecification2.getBeginIndex();
        this.endIndex = descriptorItemName.getEndIndex();
        this.simpleTargetSpecification2 = simpleTargetSpecification2;
        this.descriptorItemName = descriptorItemName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SimpleTargetSpecification getSimpleTargetSpecification2() {
        return simpleTargetSpecification2;
    }

    public DescriptorItemName getDescriptorItemName() {
        return descriptorItemName;
    }

}
